package org.springframework.test.domain;

import org.springframework.context.ApplicationListener;
import org.springframework.context.event.ContextRefreshEvent;

public class ApplicationRefreshListener implements ApplicationListener<ContextRefreshEvent> {

    @Override
    public void onApplicationEvent(ContextRefreshEvent event) {
        System.out.println("context refresh event 监听到了");
    }
}
